home *** CD-ROM | disk | FTP | other *** search
/ MacFormat España 25 / MacFormat n. 25 (Spain) / MacFormat 25.bin / mac / Componentes / Java / ActionLine™ v. 1.1.2 / About those zip files < prev    next >
Encoding:
Text File  |  1996-10-16  |  1.9 KB  |  37 lines

  1.                                                             **About Those Zip Files**
  2.  
  3. These document is only of interest to those building a web site.  It is not important if you are just experimenting with creating your own Java applets.
  4.  
  5. We have recently added two zip files to our Java files.  They are called ALViewer.zip and ALCore.zip.  They are used to improve performance for clients viewing our applets.  Here's how they work.  
  6.  
  7. The zip files contain a combination of key java classes all compressed into a single file.  Certain broswers, such as Netscape Navigator 3.0 and some versions of Internet Explorer can recognize these zipped files, if you include the appropriate Applet tags in your web pages.  The advantage of using them is that the client can download these zipped files in a single hit to the server, rather than having to download each class file separately.  
  8.  
  9. Here's an example of how to use the applet tag in your html page that downloads the ALCore.zip file.  It must appear on each html page that uses your ActionLine applets if you want to give your viewers the benefits of enhanced performance.  The ALCore.zip file is approximately 62K in size, and contains the basic classes used by most ActionLine applets.
  10.  
  11. <applet   archive=ALCore.zip code=CActionLineApp.class width=420 height=300>
  12.  
  13. <param name=DocumentFile value=DEMO2>
  14.  
  15. <param name=ImageFolder value="ALimages">
  16. <param name=ImageSequenceFolder value="ImageSequences">
  17. <param name=SoundFolder value="Sounds">
  18.  
  19. </applet>
  20.  
  21. The ALCore.zip file must be placed on your server
  22.  
  23. The ALViewer.zip file contains the entire class library for ActionLine and is about 129K in size.  To call it from your html page, use the following applet tag:
  24.  
  25. <applet   archive=ALViewer.zip code=CActionLineApp.class width=420 height=300>
  26. </applet>
  27.  
  28. Do not include both the ALCore.zip and ALViewer.zip applet tag in the same html page.
  29.  
  30.  
  31.   
  32. Interactive Media Corporation
  33. P.O. Box 0089
  34. Los Altos, CA 94023
  35. Phone: (415) 948-0745
  36. Fax: (415) 324-4590
  37. email: marketing@imcinfo.com